#include<iostream>
using namespace std;

class Date
{
private:
	int _year;
	int _month;
	int _day;
public:
	Date(int year = 0, int month = 1, int day = 1)
	{
		_year = year;
		_month = month;
		_day = day;
	}
	void Print()const
	{
		cout << _year << "-" << _month << "-" << _day << endl;
	}
	void f1(const Date* d)
	{
		d->Print();
	}
	Date* operator&()
	{
		return nullptr;
	}
	const Date* operator&()const
	{
		return nullptr;
	}
	
};


int main()
{
	Date d1;
	d1.Print();
	return 0;
}